﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Data.ModelDatabase
{
    public class OrderPosition
    {
        [Key]
        public int Id { get; set; }

        public int Count { get; set; }

        public int ProductId { get; set; }
        public virtual Product Product { get; set; }

        public int BasketId { get; set; }
        public virtual Basket Basket { get; set; }
    }
}
